import Vue from 'vue'
import router from './router'
import store from './store'

// 加载组件
import App from './App.vue'
import MuseUI from 'muse-ui'
import VueHighlightJS from 'vue-highlightjs' // 为代码文本提供高亮、缩进
import pretty from 'pretty' // 为代码文本格式化
import lean from './utils/leancloud storage' // 云数据库

import './assets/css/global.css'
import 'muse-ui/dist/muse-ui.css'

Vue.use(MuseUI)
Vue.use(VueHighlightJS)
Vue.prototype.$prettyDom = pretty
Vue.prototype.$lean = lean

Vue.config.productionTip = false
Vue.prototype.$compile = Vue.compile

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
